package com.rsxy.service.pojo;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("rs_order")
public class RsOrder {
  @TableId(type = IdType.AUTO)
  private Integer id;
  //订单编号
  private String orderId;
  //商品编号
  private String productId;
  //用户编号
  private String userId;
  //联系方式
  private String orderPhone;
  //订单备注
  private String orderComment;
  //订单状态
  private Integer orderStatus;
  @TableField(fill= FieldFill.INSERT)
  private LocalDateTime gmtCreate;
  @TableField(fill=FieldFill.INSERT_UPDATE)
  private LocalDateTime gmtModified;
  @TableField(exist=false)
  private RsProduct rsProduct;

}
